package com.ttbj.product.bean.dto;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * 用于司机订单查询返参
 * 
 * @author Medivh
 */
@JsonInclude(Include.NON_NULL)
public class FreightDto implements Serializable {
	private static final long serialVersionUID = -7555507372950712203L;
	private Long orderId;
	private String orderInsDate;
	private Float allPay;
	private Float carriage;
	private Float distance;
	private String startAddr;
	private String startX;
	private String startY;
	private String startName;
	private String startPhone;
	private String endAddr;
	private String endX;
	private String endY;
	private String endName;
	private String endPhone;
	private Integer cargoAmount;
	private Float cargoHeight;
	private Float cargoWeight;
	private Float cargoLong;
	private Float cargoWide;
	private String cargoName;
	private Long driverId;
	private String driverNum;
	private Integer orderState;
	private Float amount;// 分账后的所属金额
	private String freightState;// 短程配送状态
	private Integer isComplete; // 是否完成
	private Integer isMove;//是否是搬运单
	private Integer waybillId;
	
	

	public Integer getWaybillId() {
		return waybillId;
	}

	public void setWaybillId(Integer waybillId) {
		this.waybillId = waybillId;
	}

	public Integer getIsMove() {
		return isMove;
	}

	public void setIsMove(Integer isMove) {
		this.isMove = isMove;
	}

	public FreightDto() {
	}

	public FreightDto(Long driverId, Integer isComplete) {
		this.driverId = driverId;
		this.isComplete = isComplete;
	}

	public Float getCarriage() {
		return carriage;
	}

	public Integer getIsComplete() {
		return isComplete;
	}

	public void setIsComplete(Integer isComplete) {
		this.isComplete = isComplete;
	}

	public void setCarriage(Float carriage) {
		this.carriage = carriage;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public String getOrderInsDate() {
		return orderInsDate;
	}

	public void setOrderInsDate(String orderInsDate) {
		this.orderInsDate = orderInsDate;
	}

	public Float getAllPay() {
		return allPay;
	}

	public void setAllPay(Float allPay) {
		this.allPay = allPay;
	}

	public Float getDistance() {
		return distance;
	}

	public void setDistance(Float distance) {
		this.distance = distance;
	}

	public String getStartAddr() {
		return startAddr;
	}

	public void setStartAddr(String startAddr) {
		this.startAddr = startAddr;
	}

	public String getStartX() {
		return startX;
	}

	public void setStartX(String startX) {
		this.startX = startX;
	}

	public String getStartY() {
		return startY;
	}

	public void setStartY(String startY) {
		this.startY = startY;
	}

	public String getStartName() {
		return startName;
	}

	public void setStartName(String startName) {
		this.startName = startName;
	}

	public String getStartPhone() {
		return startPhone;
	}

	public void setStartPhone(String startPhone) {
		this.startPhone = startPhone;
	}

	public String getEndAddr() {
		return endAddr;
	}

	public void setEndAddr(String endAddr) {
		this.endAddr = endAddr;
	}

	public String getEndX() {
		return endX;
	}

	public void setEndX(String endX) {
		this.endX = endX;
	}

	public String getEndY() {
		return endY;
	}

	public void setEndY(String endY) {
		this.endY = endY;
	}

	public String getEndName() {
		return endName;
	}

	public void setEndName(String endName) {
		this.endName = endName;
	}

	public String getEndPhone() {
		return endPhone;
	}

	public void setEndPhone(String endPhone) {
		this.endPhone = endPhone;
	}

	public Integer getCargoAmount() {
		return cargoAmount;
	}

	public void setCargoAmount(Integer cargoAmount) {
		this.cargoAmount = cargoAmount;
	}

	public Float getCargoHeight() {
		return cargoHeight;
	}

	public void setCargoHeight(Float cargoHeight) {
		this.cargoHeight = cargoHeight;
	}

	public Float getCargoWeight() {
		return cargoWeight;
	}

	public void setCargoWeight(Float cargoWeight) {
		this.cargoWeight = cargoWeight;
	}

	public Float getCargoLong() {
		return cargoLong;
	}

	public void setCargoLong(Float cargoLong) {
		this.cargoLong = cargoLong;
	}

	public Float getCargoWide() {
		return cargoWide;
	}

	public void setCargoWide(Float cargoWide) {
		this.cargoWide = cargoWide;
	}

	public String getCargoName() {
		return cargoName;
	}

	public void setCargoName(String cargoName) {
		this.cargoName = cargoName;
	}

	public Long getDriverId() {
		return driverId;
	}

	public void setDriverId(Long driverId) {
		this.driverId = driverId;
	}

	public String getDriverNum() {
		return driverNum;
	}

	public void setDriverNum(String driverNum) {
		this.driverNum = driverNum;
	}

	public Integer getOrderState() {
		return orderState;
	}

	public void setOrderState(Integer orderState) {
		this.orderState = orderState;
	}

	public Float getAmount() {
		return amount;
	}

	public void setAmount(Float amount) {
		this.amount = amount;
	}

	public String getFreightState() {
		return freightState;
	}

	public void setFreightState(String freightState) {
		this.freightState = freightState;
	}

	@Override
	public String toString() {
		return "FreightDto [orderId=" + orderId + ", orderInsDate=" + orderInsDate + ", allPay=" + allPay + ", carriage=" + carriage + ", distance=" + distance + ", startAddr=" + startAddr + ", startX=" + startX + ", startY=" + startY + ", startName=" + startName + ", startPhone=" + startPhone
				+ ", endAddr=" + endAddr + ", endX=" + endX + ", endY=" + endY + ", endName=" + endName + ", endPhone=" + endPhone + ", cargoAmount=" + cargoAmount + ", cargoHeight=" + cargoHeight + ", cargoWeight=" + cargoWeight + ", cargoLong=" + cargoLong + ", cargoWide=" + cargoWide
				+ ", cargoName=" + cargoName + ", driverId=" + driverId + ", driverNum=" + driverNum + ", orderState=" + orderState + ", amount=" + amount + ", freightState=" + freightState + ", isComplete=" + isComplete + ", isMove=" + isMove + "]";
	}

}
